package cn.ldh.fallback;

import cn.ldh.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class FallbackOrders {

    public static User fallbackOrder(@PathVariable("id") Long id, Throwable t){
        t.printStackTrace();
        return new User(-1L,"熔断触发","熔断了");

    }
}
